package com.lsa.skienna.challenge.chap3.the110301_WERTYU;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;

public class Main {
	private static final String LINE_SEP = System.getProperty("line.separator");
	private static final String decoder = "1234567890-=QWERTYUIOP[]ASDFGHJKL;'\\ZXCVBNM,./";

	public static void main(String[] args) throws Exception {
		process(System.in, System.out);
	}
	
	static void process(InputStream in, OutputStream out) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(in));
		BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(out));
		String line;
		while((line = br.readLine()) != null) {
			 bw.write(processLine(line) + LINE_SEP);
		}
		bw.close();
	}

	private static String processLine(String line) {
		StringBuilder sb = new StringBuilder(line.length());
		for(int i = 0; i < line.length(); ++i) {
			char c = line.charAt(i);
			int idx = decoder.indexOf(c);
			if (idx > -1) {
				c = decoder.charAt(idx - 1);
			}
			sb.append(c);
		}
		return sb.toString();
	}
}
